$(function(){
	$(".choice-doctorSubmit button").on("click",function(){
		if($("input[name='returnEcompany']").val()==''){
			mui.alert("快递名称不能为空")
			return false;
		}
		if($("input[name='returnNumber']").val()==''){
			mui.alert("快递单号不能为空")
			return false;
		}
		var orderid= utilModule.getQueryString("orderId");
		var param=$("#submitExpress").serialize()+"&orderId="+orderid;
		onlineContinuationModule.updateMallOrderRefund(param,callBackSlider);
		
		function callBackSlider(data){
			if(data==1){
				mui.alert("提交成功",function(e){
					history.back(-1);
				});
				
			}else{
				mui.alert("提交失败")
				return false;
			}
		}
		
	});
});
